import React from 'react';
import ReactDOM from 'react-dom';
import TodoList from './TodoList'
import NestedAppRouter from './router/NestedAppRouter'
import {Provider} from 'react-redux'
import store from './store';


ReactDOM.render(
    //提供器，连接器在todolist
    <Provider store={store}>
        {/* <TodoList/> */}
        <NestedAppRouter/>
    </Provider>

,document.getElementById('root'));